<?php
$dtds['edit']['name']['name'] 		= '广告名称';
$dtds['edit']['position']['name']  	= '所在位置';
$dtds['edit']['code']['name']  		= '广告代码';
$dtds['edit']['orderby']['name']  	= '显示顺序';

$dtds['edit']['name']['value']['required']  		= true;
$dtds['edit']['position']['value']['required']  	= true;
$dtds['edit']['position']['value']['mask']  		= "/^[0-9]+$/i";
$dtds['edit']['code']['value']['required']  		= true;
$dtds['edit']['orderby']['value']['required']  		= true;
$dtds['edit']['orderby']['value']['mask']  			= "/^[0-9]+$/i";

$dtds['edit']['name']['message']['required'] 		= "%s必填项";
$dtds['edit']['position']['message']['required']  	= "%s必填项";
$dtds['edit']['position']['message']['mask']  		= "%s只能是数字";
$dtds['edit']['code']['message']['required']  		= "%s必填项";
$dtds['edit']['orderby']['message']['required']  	= "%s必填项";
$dtds['edit']['orderby']['message']['mask']  		= "%s只能是数字";


$dtds['position']['name']['name'] = '广告位名称';
$dtds['position']['template']['name'] = '所属模板';
$dtds['position']['position']['name'] = '广告位置别名';

$dtds['position']['name']['value']['required'] = true;
$dtds['position']['template']['value']['required'] = true;
$dtds['position']['position']['value']['required'] = true;

$dtds['position']['name']['message']['required'] = "%s必填项";
$dtds['position']['template']['message']['required'] = "%s必填项";
$dtds['position']['position']['message']['required'] = "%s必填项";